package com.meixiang.entity.account;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * author：wangzuzhen on 2016/6/4 0004 14:39.
 */
public class AllPrivilegeEntity implements Parcelable {


    private String privId;
    private String photo;
    private String name;
    private String url;
    private String content;


    public String getPrivId() {
        return privId;
    }

    public void setPrivId(String privId) {
        this.privId = privId;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "AllPrivilegeEntity{" +
                "privId='" + privId + '\'' +
                ", photo='" + photo + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", content='" + content + '\'' +
                '}';
    }


      public static final Creator<AllPrivilegeEntity> CREATOR = new Creator<AllPrivilegeEntity>() {
        @Override
        public AllPrivilegeEntity createFromParcel(Parcel in) {
            return new AllPrivilegeEntity(in);
        }

        @Override
        public AllPrivilegeEntity[] newArray(int size) {
            return new AllPrivilegeEntity[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.privId);
        dest.writeString(this.photo);
        dest.writeString(this.name);
        dest.writeString(this.url);
        dest.writeString(this.content);
    }

    protected AllPrivilegeEntity(Parcel in) {
        this.privId = in.readString();
        this.photo = in.readString();
        this.name = in.readString();
        this.url = in.readString();
        this.content = in.readString();
    }
}
